package com.group4.datafactorybackend.entity.VO;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotBlank;

/**
 * @author xin
 * @date 2022/7/28
 * @description 码表配置文件导入类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ExcelTarget("EncodingConfigurationExcelVO")
public class EncodingConfigurationExcelVO {

    /**
     * 编码取值
     */
    @Excel(name = "编码取值",orderNum = "4",isImportField = "true")
    @NotBlank(message = "编码取值不能为空")
    private String encodingValue;

    /**
     * 编码名称
     */
    @Excel(name = "编码名称",orderNum = "5",isImportField = "true")
    @NotBlank(message = "编码名称不能为空")
    private String encodingName;

    /**
     * 编码含义
     */
    @Excel(name = "编码含义",orderNum = "6")
    private String encodingMeaning;
}
